home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 1 / QRZ Ham Radio Callsign Database - December 1993.iso / ucsd / packet / tcpip / mac / radcnfgs.hqx / TCP_IP for the Mac / autoexec.net < prev    next >
Encoding:
Text File  |  1992-12-15  |  8.7 KB  |  332 lines

  1. #$realtime 190
  2. #$debug on
  3. #
  4. # net.start -- Macintosh-specific "autoexec.net" config. file
  5. #
  6. #
  7. # Define who we are -- this must come first in this file:
  8. #
  9. hostname pi8mac.ampr.org
  10. ax25 mycall pi8mac
  11. #
  12. # Path to the hosts.net file - It could reside on another volume, or
  13. # be buried in another folder.  Also the file can now be named what-
  14. # ever you desire.  Note that double quotes are required if there are
  15. # any space characters in the path name, otherwise they are not needed.
  16. #
  17. hostfile :hosts.net
  18. #
  19. # AX.25 CONFIGURATION:
  20. # The values in the following entries reflect default values.
  21. # These values come into play when you are operating in the  AX.25
  22. # mode, along with your "ax25 mycall" entry above. 
  23. #
  24. # Turn on digipeating
  25. #
  26. ax25 digipeat on
  27. #
  28. # Set the max number of frames allowed to remain unacknowledged--
  29. # cannot be greater than 7, and 2 is a good number:
  30. #
  31. ax25 maxframe 2
  32. #
  33. # Limit the size of I=fields:
  34. #
  35. ax25 paclen 200
  36. ax25 pthresh 64
  37. #
  38. # Limit the number of unsuccessful retransmissions:
  39. #
  40. ax25 retry 10
  41. #
  42. # Set the number of bytes that can be pending on an AX.25 receive
  43. # queue:
  44. #
  45. ax25 window 4096
  46. #
  47. # Turn on the mheard command in tcp...
  48. #
  49. ax25 heard on
  50. # frack (in milliseconds)
  51. ax25 t1 7000
  52. # resptime (in milliseconds)
  53. ax25 t2 1500
  54. # check (in milliseconds)
  55. ax25 t3 300000
  56. #
  57. # Insert your personal IP address in []'s or use the name from 'hosts.net':
  58. #
  59. ip addr pi8mac
  60. #
  61. # Time To Live is the maximum number of hops a packet can take
  62. # before it is thrown away. This command prevents an infinite
  63. # loop from occuring with packets in the network.
  64. #
  65. ip ttl 16
  66. #
  67. # The Maximum Segment Size is the largest single transmission that
  68. # you will send. An mss of 216 corresponds to the mtu of 256 set
  69. # up in the attach command above, overhead bytes considered.
  70. #
  71. tcp mss 216 
  72. #
  73. # The Window parameter establishes the maximum number of bytes
  74. # that may be outstanding before your system expects an ack. If
  75. # window is twice as big as mss, for example, there will be two
  76. # active packets on the channel at any given time... large values
  77. # of window provide improved throughput on full-duplex links, but
  78. # are a problem on the air.  Keep  mss <= window <= 2*mss if
  79. # you're on the air.
  80. #
  81. tcp window 432
  82. #
  83. # set round trip time to 5 seconds - the original documentation states
  84. # this value as seconds, when it should be milliseconds!
  85. #
  86. tcp irtt 5000
  87. tcp mrtt 300000
  88. # allow 7 days for mail-delivery
  89. smtpndays 7
  90. # deliver mail for strangers at pi8hvh
  91. smtp gateway pi8hvh
  92. #
  93. # smtp timer below sets the amount of time between attempts to send
  94. # messages in the queue.  The value of 600 (seconds) sets it to every 10
  95. # min. 3 - 10 minutes is a good number if your station is up 24hrs/day.
  96. # If not, adjust to more like >15 minutes (>900 seconds)
  97. #
  98. smtp timer 600
  99. smtp mode route
  100. #
  101. # Attach interfaces:
  102. # Syntax for a Macintosh using the modem port for AX25:
  103. # attach <hw type> <not used but needs to be here> <string version
  104. # of the port  ('a' or 'b')> <mode> <label> <bufsize> <mtu> <speed>
  105. #
  106. # The following typical attach command for the Mac says that you
  107. # will use an asynchronous port, specifically port 'a' (modem
  108. # port), talking to an "ax25" (i.e. KISS-based) TNC.  The name you
  109. # will use when running TCP to refer to this port is "430".  You
  110. # allow a maximum of 2048 bytes of buffer; packets are no more
  111. # than 576 bytes long.  You talk to the port at 4800 bps.
  112. #
  113. attach asy 1 a ax25 430 2048 576 4800
  114. #
  115. # The following describes the parameters for the AppleTalk driver.
  116. # Note that this is a very simple AppleTalk interface, and will only
  117. # work with another Mac in the same AppleTalk zone running this
  118. # version of NET/Mac.  (uses the LAP protocol)
  119. #
  120. # argv[0]: hardware type, must be "appletalk"
  121. # argv[1]: Protocol Type, e.g., "77"
  122. # argv[2]: device name,must be "b"
  123. # argv[3]: mode, must be "arpa"
  124. # argv[4]: interface label, e.g., "at0"
  125. # argv[5]: maximum number of packets allowed on receive queue, e.g., "7"
  126. # argv[6]: maximum transmission unit, bytes, e.g. "586" < appletalk-
  127. #          limitation.
  128. #
  129. attach appletalk 77 b arpa at0 1 586
  130. #
  131. attach netrom
  132. netrom ttl 16
  133. netrom interface 430 #TCPIP 192
  134. netrom nodetimer 900
  135. netrom obsotimer 3600
  136. netrom nodefilter mode none
  137. netrom verbose yes
  138. #
  139. # The format is:  param <label> <hex value> <hex value> ...
  140. #
  141. # As an example, a TNC-1 with an old crystal transmitter that is
  142. # slow to key may need longer TXDELAY and TXTAIL values than the
  143. # defaults, e.g.:
  144. #
  145. # txdelay (*10 millisec)
  146. param 430 1 100
  147. # 1/n perc.
  148. param 430 2 64
  149. # slot time (*10 millisec)
  150. param 430 3 10
  151. # TX tail (*10 millisec)
  152. param 430 4 10
  153. # Full duplex
  154. param 430 5 0
  155. # HDLC speed (*300 bps)
  156. param 430 6 4
  157. #
  158. # The next entries set the default arp addresses.
  159. # You may add additional arp entries as needed.
  160. #
  161. arp add pa0gln ax25 pa0gln
  162. #arp add pa3eae ax25 pa3eae-7
  163. #arp add pi8eae ax25 pi8eae-7
  164. #
  165. # By default all packets will go out the "at0" port and go out via pa2aga-1:
  166. #
  167. route add [44.0.0.0]/8 at0 pa2aga-1
  168. # Germany
  169. route add [44.130.0.0]/16 at0 pa2aga
  170. # The Netherlands
  171. route add [44.137.0.0]/16 at0 pa2aga
  172. # Belgium
  173. route add [44.144.0.0]/16 at0 pa2aga
  174. # Luxemburg
  175. route add [44.161.0.0]/16 at0 pa2aga
  176. # fridley
  177. route add [192.137.1.3] at0 pa2aga
  178. # hb9zz.ethz.ch
  179. route add [44.142.1.1] at0 pa2aga
  180. # AF2J
  181. route add [44.80.32.135] at0 pa2aga
  182. route add [44.80.32.136] at0 pa2aga
  183. # PA_ZH1
  184. route add [44.137.0.0]/22 at0 pa2aga-2
  185. # PA_ZH2
  186. route add [44.137.32.0]/22 at0 pa2aga-2
  187. #
  188. route add pa0aax at0 pa2aga-2
  189. route add pa0gln 430
  190. route add pa0gri at0 pa2aga-2
  191. route add bbs.pa0gri at0 pa2aga-2
  192. route add net.pa0gri at0 pa2aga
  193. route add pa0mjr at0 pa2aga-2
  194. route add sys2.pa0mjr at0 pa2aga-2
  195. route add pa0okc at0 pa2aga-2
  196. route add pa0qrb at0 pa2aga
  197. route add pa0sch 430
  198. route add pa2aga at0
  199. route add pa2aga-1 at0
  200. route add pa2aga-2 at0
  201. route add pa2aga-10 at0
  202. route add pa3cay at0 pa2aga-2
  203. route add sys2.pa3cay at0 pa2aga-2
  204. route add pa3cdi at0 pa2aga-2
  205. route add pa3chk 430
  206. route add pa3cwi at0 pa2aga
  207. route add pa3eae 430
  208. route add pa3ecp at0 pa2aga-2
  209. route add pa3ecp-2 at0 pa2aga-2
  210. route add pa3ecp-7 at0 pa2aga-2
  211. route add pe0mar at0 pa2aga
  212. route add pe0pjv at0 pa2aga
  213. route add pe1ghg 430
  214. route add pe1khx at0 pa2aga
  215. route add pi8eae 430
  216. route add pi8hvh at0 pa2aga
  217. route add pi8omp 430
  218. #
  219. ping pa2aga
  220. ping pa2aga-2
  221. #
  222. # Setup mailbox function for AX25 connects
  223. #
  224. mbox y
  225. #
  226. # Set the local timezone and offset to GMT
  227. #
  228. #Winter:
  229. #
  230. tzone MET -1
  231. #
  232. #
  233. #Daylight savings time:
  234. #
  235. #tzone MET -2
  236. #
  237. # Tell TCP to start up each of its daemons:
  238. #
  239. start telnet
  240. start ftp
  241. start smtp
  242. start echo
  243. start discard
  244. start finger
  245. start remote 1234
  246. #
  247. # Set the escape character - this is required for the Mac 512/Plus
  248. # keyboards.  You may comment it out for the ADB keyboards.
  249. #
  250. escape 
  251. #
  252. netrom bcnodes 430
  253. #
  254. # The following command is optional, and allows you to provide a
  255. # callsign lookup function assuming you have an appropriate datafile.
  256. # There are two parameters, the first is the path to the data file, and
  257. # the second is the path to a logging file.
  258. #
  259. callbk :finger:callbook :spool:logs:calllog
  260. #
  261. # The following commands turn on the beacon function.
  262. # The first command set which port to beacon on.  The second command
  263. # is the callsign to beacon to (QST is everyone), the third line is the
  264. # actual beacon message followed by the beacon interval in seconds, and
  265. # finally the last command turns on the beacon.
  266. #
  267. beacon set 430
  268. beacon callsign QST-0
  269. beacon message "Macintosh TCP/IP+NET/ROM (in AX.25 type <CR> as 1st command!)"
  270. beacon interval 1000
  271. beacon disable
  272. #
  273. # Enable the Proxy ARP facility.  This function allows for automatic
  274. # digipeating (so to speak) between several stations without having
  275. # to explicidly adding arp entries.
  276. #
  277. is_es enable
  278. #
  279. # enable IP Heard command.  Keeps a running list of stations heard on
  280. # the channel.  Typing IP H at the net> prompt will display the last 20 or
  281. # so stations that have been heard.  You may also us AX25 H to see the last
  282. # 20 ax25 stations.
  283. #
  284. ip heard on
  285. #
  286. # sound enough bells to wake me up
  287. alerts 3
  288. #
  289. # activate rip trace
  290. #rip trace on 0 0 24 72
  291. #
  292. # activate rip
  293. rip init pa2aga-2 at0
  294. rip add pa0gln 430 1800 3
  295. rip add pa2aga-2 at0 1800 6
  296. #
  297. prompt pi8mac>
  298. title "[44.137.32.22 ] - PI8MAC - 430.675 MHz"
  299. #
  300. # Tell TCP where to keep a log file - note the leading ':' character.
  301. # The current directory prefix will be appended to the front of this entry.
  302. #
  303. log :spool:logs:log overwrite 0 0 24 71
  304. #
  305. # trace smtp session
  306. smtp trace 2 0 19 17 80
  307. #
  308. # define default console window
  309. console 0 0 13 80
  310. #
  311. cmdtoclipb on
  312. #
  313. addmenu "tcp extended\m"
  314. addmenu "smtp kick\m"
  315. addmenu "dir :spool:mqueue\m"
  316. addmenu -telnet
  317. addmenu "telnet pi8hvh\m"
  318. addmenu "telnet pa0gln\m"
  319. addmenu -ping
  320. addmenu "ping pa2aga\m"
  321. addmenu "ping pa2aga-1\m"
  322. addmenu "ping pa2aga-2\m"
  323. addmenu "ping pa0gln\m"
  324. addmenu -end
  325. addmenu exit\m
  326. #
  327. time
  328. #
  329. appleshare pa2aga "IIx HD40:tcp/ip_pa2aga:spool:mqueue"
  330. #
  331. # End of autoexec.net
  332.